package com.ifinc.common.exception;

/**
 * User: luotao
 * Date: 13-11-27
 * Time: 13:56
 */
public class ConfigException extends RuntimeException {
    private String message;
    private Object[] values;
    public ConfigException(String message,Object ... values) {
        super("");
        this.message = message;
        this.values= values;
    }

    @Override
    public String getMessage() {
        return super.getMessage()+String.format(message,values);
    }
}
